package com.wcar.sale.mapper;

import com.wcar.sale.entity.Store;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wcar.sale.vo.Nachu;
import com.wcar.sale.vo.Querysum;
import com.wcar.sale.vo.QueryParam;
import com.wcar.sale.vo.saleTN;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author DELL
* @description 针对表【tb_store(门店)】的数据库操作Mapper
* @createDate 2024-05-24 10:34:51
* @Entity com.wcar.sale.entity.Store
*/
public interface StoreMapper extends BaseMapper<Store> {

	List<Nachu> gatstoreName( QueryParam queryParam);

	List<Nachu> gatNum(QueryParam queryParam);

	@Select("select store_id from tb_store where store_name=#{aa}")
	String   zhaoid(String aa);

	@Select("select store_id from tb_store where create_by=#{userName}")
	List<String> zhaodenluren(String userName);

	@Select("select store_id from tb_store")
	List<String> zhaodenluren1();

    List<saleTN> selectall();
}




